package com.lrkj.payfee.service;

import java.util.List;
import com.lrkj.payfee.domain.HandReceipt;
import com.lrkj.common.core.service.BaseService;

/**
 * 交班收款明细Service接口
 *
 * @author yajun_ren
 * @date 2022-03-31
 */
public interface IHandReceiptService extends BaseService<HandReceipt>
{
    /**
     * 查询交班收款明细
     *
     * @param id 交班收款明细ID
     * @return 交班收款明细
     */
    public HandReceipt selectHandReceiptById(String id);

    /**
     * 查询交班收款明细列表
     *
     * @param handReceipt 交班收款明细
     * @return 交班收款明细集合
     */
    public List<HandReceipt> selectHandReceiptList(HandReceipt handReceipt);

    /**
     * 新增交班收款明细
     *
     * @param handReceipt 交班收款明细
     * @return 结果
     */
    public int insertHandReceipt(HandReceipt handReceipt);

    /**
     * 修改交班收款明细
     *
     * @param handReceipt 交班收款明细
     * @return 结果
     */
    public int updateHandReceipt(HandReceipt handReceipt);

    /**
     * 批量删除交班收款明细
     *
     * @param ids 需要删除的交班收款明细ID
     * @return 结果
     */
    public int deleteHandReceiptByIds(String[] ids);

    /**
     * 删除交班收款明细信息
     *
     * @param id 交班收款明细ID
     * @return 结果
     */
    public int deleteHandReceiptById(String id);

    /**
     * 根据交班id删除数据
     * @return
     */
    public int deletehandRecordId(String handRecordId);
}
